package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IShopConfigDao;
import com.guoxue.domain.ShopConfigVo;
import com.guoxue.service.IShopConfigService;

@Service
public class ShopConfigServiceImpl implements IShopConfigService{
	
	@Resource
	private IShopConfigDao  shopConfigDao;

	@Override
	public List<ShopConfigVo> getShopConfigList() {
		return shopConfigDao.getShopConfigList();
	}

	@Override
	public ShopConfigVo getShopConfig(int propId) {
		return shopConfigDao.getShopConfig(propId);
	}

	@Override
	public void saveShopConfig(ShopConfigVo sc) {
		shopConfigDao.saveShopConfig(sc);
	}

	@Override
	public void deleteShopConfig(Integer id) {
		shopConfigDao.deleteShopConfig(id);
	}

}
